package com.lijiafang.service.impl;

import com.lijiafang.dao.UserDao;
import com.lijiafang.entity.User;
import com.lijiafang.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName:LoginServiceImpl
 * @Description:用户登录
 * @Author: yaoyonghao
 * @Date: 2019/3/11、16:52
 */
@Service
public class LoginServiceImpl implements LoginService {

    @Autowired
    private UserDao userDao;

    @Override
    public User userLogin(User user) {
        return userDao.login(user);
    }

}